// JointPortFormersOfPartFormat.h: interface for the JointPortFormersOfPartFormat class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_JOINTPORTFORMERSOFPARTFORMAT_03D8_4D21_83CD_F95AF16B0536__INCLUDED_)
#define AFX_JOINTPORTFORMERSOFPARTFORMAT_03D8_4D21_83CD_F95AF16B0536__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "JointPortFormer.h"

namespace JointSystem
{
typedef CArray<JointPortFormer*,JointPortFormer*> CJointPortFormerPtrArray;

class AFX_EXT_CLASS JointPortFormersOfPartFormat
{
public:
	JointPortFormersOfPartFormat() {}
	~JointPortFormersOfPartFormat();

public:
	int GetCount() const { return m_JPFs.GetSize(); }
	JointPortFormer* GetAt( int index ) const { return m_JPFs.GetAt( index ); }
	JointPortFormer* Get(const CString& strPortID);

public:
	VOID Add( JointPortFormer* aJPF ) { m_JPFs.Add( aJPF ); }
	
private:
	CJointPortFormerPtrArray m_JPFs;
};

};
#endif // !defined(AFX_JOINTPORTFORMERSOFPARTFORMAT_03D8_4D21_83CD_F95AF16B0536__INCLUDED_)
